package org.extframework.ld.xml.base.listeners;

/**
 * @author : Dong.Li
 * @created : 2013-1-17
 * @version : 1.0
 * @description :
 */
public class ComboxBoxListeners {

	private String beforequery = "";

	private String select = "";

	private String blur = "";

	public ComboxBoxListeners() {
		this.beforequery = "##function(){}##";
		this.select = "##function(combo,record,index){combo.selectValueId = combo.getValue();}##";
		this.blur = "##function(combo){if(!(combo.selectValueId && combo.selectValueId==combo.getValue())){ combo.setValue('');}}##";
	}

	public String getBeforequery() {
		return this.beforequery;
	}

	public void setBeforequery(String beforequery) {
		this.beforequery = beforequery;
	}

	public String getSelect() {
		return this.select;
	}

	public void setSelect(String select) {
		this.select = select;
	}

	public String getBlur() {
		return this.blur;
	}

	public void setBlur(String blur) {
		this.blur = blur;
	}

}
